package shop.services.front.favorite.impl;import shop.core.ServicesManager;import shop.services.front.favorite.FavoriteService;import shop.services.front.favorite.bean.Favorite;import shop.services.front.favorite.dao.FavoriteDao;import org.springframework.stereotype.Service;import javax.annotation.Resource;@Service("favoriteServiceFront")public class FavoriteServiceImpl extends ServicesManager<Favorite, FavoriteDao> implements        FavoriteService {    @Resource(name = "favoriteDaoFront")    @Override    public void setDao(FavoriteDao favoriteDao) {        this.dao = favoriteDao;    }    @Override	public int selectCount(Favorite favorite) {		return dao.selectCount(favorite);	}}